package cn.lili.modules.im.entity;


import cn.lili.mybatis.BaseEntity;
import cn.lili.mybatis.BaseTenantEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Chopper
 */
@Data
@TableName("tz_user")
@ApiModel(value = "Im消息")
public class ImUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("user_mobile")
    @ApiModelProperty(value = "唯一标识", hidden = true)
    private String id;
    /**
     * 头像
     */
    @TableField("pic")
    private String face;
    /**
     * 昵称
     */
    @TableField("nick_name")
    private String name;
}